package com.yuexinduo.education.ui;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.yuexinduo.education.R;
import com.yuexinduo.baselibrary.base.BaseMvpActivity;

public class SeekTeacherResultActivity extends BaseMvpActivity implements View.OnClickListener {
    private ImageView back;
    private TextView top;
    private TextView order;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @Override
    protected int bindLayout() {
        return R.layout.activity_seek_teacher_result;
    }

    @Override
    protected Activity getActivity() {
        return this;
    }

    @Override
    protected void initCreate() {


        back = (ImageView) findViewById(R.id.back);
        top = (TextView) findViewById(R.id.top);
        top.setText("申请结果");
        order = (TextView) findViewById(R.id.order);
        back.setOnClickListener(this);
        order.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.back:
                finish();
                break;
            case R.id.order:
                startActivity(new Intent(getActivity(),MyOrderActivity.class));
                break;
        }
    }
}